Skip to content

Conversation

nuxodin
Copy link

@nuxodin nuxodin commented May 25, 2022

An element can have the contenteditable value "true" but also "" (emty string) or to be editable.
See: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contenteditable

But anyway, an easier way to see if it's a contenteditable-root element is to use the property node.contentEditable, which has wide support.
See: https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/contentEditable

nuxodin added 2 commits May 25, 2022 03:42
An element can have the `contenteditable` value "true" but also "" (emty string) or to be editable.
See: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contenteditable

But anyway, an easier way to see if it's a contenteditable-root element is to use the property `node.contentEditable`, which has wide support.
See: https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/contentEditable
@nuxodin
Copy link
Author

nuxodin commented Feb 15, 2023

Is this script still maintained?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant